package Test.Day10;

public class HuiWenShu {
    public static void main(String[] args) {
        int max = 100000;
        for (int i = 10000; i < max; i++) {

            int ge = i % 10;
            int shi = i / 10 % 10;
            int bai = i / 100 % 10;
            int qian = i / 1000 % 10;
            int wan = i / 10000 % 10;
            if (ge == wan && shi == qian) {
                System.out.println(i);
            }
        }
    }
}
